package net.alan.modules.bean;

/**
 * http请求返回的最外层对象
 * Author 李岩飞
 * Email eliyanfei@126.com
 * 2017/11/21
 */
public class Result<T> {
    /**
     * 提示信息.
     */
    private String msg;
    private boolean status;
    private int code =0;

    /**
     * 具体的内容.
     */
    private T data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
